Parses the supplied array segment into data structures representing the components of the SDP.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public 
Sub 
Parse ( _
	
sdpText 
As 
String _
)
C#
public 
void 
Parse(
	
string 
sdpText
)
Visual C++
public:
void 
Parse(
	
String^ 
sdpText
)
JavaScript
function 
parse(
sdpText);

Parameters

sdpText
Type: String
The string containing the SDP to parse.

Exceptions

Exception Condition
Microsoft.Rtc.Signaling . . :: . MessageParsingException Thrown when the provided SDP is malformated. See exception message for details.
ArgumentNullException Thrown when null is passed as an argument.
ArgumentException Thrown when empty string is passed as an argument.

See Also